package com.ray.pojo;

import com.ray.util.TimeAndUnix;

/**
* <p>Title: QuerySummaryLackPojo</p>
* <p>Description: 汇总的缺卡信息
*/
public class QuerySummaryLackInfoPojo implements Comparable<QuerySummaryLackInfoPojo>{
	private String baseCheckTime;//
	private String className;//班次名称
	private Integer checkType;//1:上班 0:下班
	
	public QuerySummaryLackInfoPojo() {
		
	}
	public QuerySummaryLackInfoPojo(String baseCheckTime,String className,Integer checkType) {
		this.baseCheckTime = baseCheckTime;
		this.className = className;
		this.checkType = checkType;
	}
	
	public String getBaseCheckTime() {
		return baseCheckTime;
	}
	public void setBaseCheckTime(String baseCheckTime) {
		this.baseCheckTime = baseCheckTime;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public Integer getCheckType() {
		return checkType;
	}
	public void setCheckType(Integer checkType) {
		this.checkType = checkType;
	}
	@Override
	public int compareTo(QuerySummaryLackInfoPojo o) {
		int i = (int) TimeAndUnix.compareDate(o.getBaseCheckTime(),this.baseCheckTime);
		return i;
	}
}
